<?php

/**
 * User form.
 *
 * @package    mysmartmanager
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class UserForm extends BaseUserForm
{
  
  public function configure()
  {
	$this->validatorSchema['emailaddress'] = new sfValidatorEmail();	
	$this->useFields(array('emailaddress', 'name', 'userrole', 'status'));
	$this->widgetSchema->setLabels(array(
      'emailaddress'    => 'e-mail',
      'name'      => 'Full Name',
      'userrole'   => 'Role',
      'status'      => 'Status',
    ));    
  }
}
